Skip to content

Migrate GoogleProvider to googletrans 4.0.2 with async support and add new example - #11

Open
mfazrinizar wants to merge 5 commits into
vTuanpham:mainfrom
mfazrinizar:main
Open

Migrate GoogleProvider to googletrans 4.0.2 with async support and add new example#11
mfazrinizar wants to merge 5 commits into
vTuanpham:mainfrom
mfazrinizar:main

Conversation

@mfazrinizar

Copy link
Copy Markdown

googletrans 3.1.0a0 requires httpx 0.13.3 which is incompatible with another dependencies (e.g. groq) that require later httpx version. install.sh installs httpx==1.0.0.beta0 which is not available anymore.

This PR:

  • Updates GoogleProvider to handle async translation calls required in googletrans 4.0.2 (httpx 0.28.1).
  • Adds new example Perkey-Keyphrase dataset parser.

I'm open to suggestion whether this needs any further improvement.

@vTuanpham

Copy link
Copy Markdown
Owner

Hi @mfazrinizar, i might not be able to review this until this weekend FYI. Very much appreciate the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants